<?php
class PlotsModel extends CI_Model {
	function getPlot($movieid){
		$sql = "select PLOTTEXT from plots where MOVIEID = $movieid";
		$data = $this->db->query($sql);
		return $data;		
	}
}
?>